public class SingletonTest{
	public static void main(String[] args) {
		// Singleton sg1 = new Singleton();
		// Singleton sg2 = new Singleton();
		// System.out.println(sg1 == sg2);//false

		Singleton sg1 = Singleton.getInstance();
		Singleton sg2 =Singleton.getInstance();
		System.out.println(sg1 == sg2);//true

	}
}